package com.itheima.dao;

import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

/**
 * @author 黑马程序员
 * @Company http://www.ithiema.com
 * @Version 1.0
 */
public interface MemberDao {
    Member findByTelephone(String telephone);

    void add(Member member);

    long findByMonth(String month);

    long findCountByDate(String todayDate);

    long findTotalCount();

    /**
     *
     * @param thisWeekMonday
     * @return
     */
    long findCountAfterDate(String thisWeekMonday);

    List<String> findBySex();


    List<Map<String,String>> findByCountSex();

    List<Member> findByCountAge();

}
